02. Submitting Your Project

Submitting Your Project

Below is the workspace with your code from the previous lessons. At this point, you should be just about ready to submit the project!

Testing Your Project Before Submission

Before you submit the project, you should run the unit tests for the project to ensure that everything is working correctly. To run tests, you can execute the following commands from the /home/workspace/CppND-Route-Planning-Project/build directory in the terminal below:

  • cmake_tests ..
  • make
  • ../bin/test

If you are running this project locally, you can use the following command in place of cmake_tests ..:

  • cmake -DTESTING="AStarSearch" ..

Once you have run the test executable, there will be a printout of the test results in the terminal, and you can verify that everything has passed. If there is a part of the code that still needs work, you can look at the tests in the following file:

/home/workspace/CppND-Route-Planning-Project/test/utest_rp_a_star_search.cpp

Checking the Rubric

If your project works correctly and passes the tests above, carefully look at the project rubric. If you feel like all the criteria from the rubric are met, you are ready to submit!

Submitting the Project

You can submit your project using the "SUBMIT PROJECT" button in the terminal below.

This project can only be submitted through this workspace. This is done to ensure that you are able to test your code in an environment similar to what reviewers will use.

If you have developed your project locally, you can upload the project directory to the workspace for submission. Similarly, if you have your code in Github, you can clone your project into the workspace for submission.

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity, so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: react
  • Opened files (when workspace is loaded): n/a
  • userCode:

    export CXX=g++-7
    export CXXFLAGS=-std=c++17
    cmake_tests() {
    /usr/local/bin/cmake -DTESTING="AStarSearch" "$1"
    }
    export -f cmake_tests